//package com.oauth.resource.config.feign;
//
//import com.fasterxml.jackson.databind.ObjectMapper;
//import feign.QueryMapEncoder;
//import lombok.RequiredArgsConstructor;
//import lombok.extern.slf4j.Slf4j;
//
//import java.util.Map;
//
//@Slf4j
//@RequiredArgsConstructor
//public class FeignFormEncoder implements QueryMapEncoder {
//
//    private final ObjectMapper objectMapper;
//
//    /**
//     * Encodes the given object into a query map.
//     *
//     * @param object the object to encode
//     * @return the map represented by the object
//     */
//    @Override
//    public Map<String, Object> encode(Object object) {
//        log.info("请求参数：{}", object);
//        return null;
//    }
//
////    @Override
////    public void encode(Object object, Type bodyType, RequestTemplate template) throws EncodeException {
////        super.encode(object, bodyType, template);
////    }
//
//}
